﻿
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小红书敏感词违禁检测工具_在线查询-K3达人社</title>
    <meta name="description" content="小红书B站违禁敏感词在线检测查询工具,在线检测错别字,适合广告文案查询，快速易用，博主KOL专业撰写辅助工具" />
    <meta name="keywords" content="K3达人社,小红书违禁词在线检测,小红书违禁词,违禁词查询,敏感词检测工具,违禁词在线查询,在线检测错别字" />
    <script type="text/javascript">var menuId = "0_5";</script>
    <link rel='stylesheet' type='text/css' href='/static/css/layerui.css' />
    <script type="text/javascript" src="/static/js/referrer.js"></script>
    <script type="text/javascript" src="/static/js/layer/layer.js"></script>
    <script type="text/javascript" src="/static/js/number.js"></script>

</head>
<body>
    <script type="text/javascript" src="/static/js/top.js?v=11"></script>

    <div class="layout" id="wordContainer">
        <div class="line-big">
            <div class="x12 text-center">
                <h2 class="full-screen-en-title hidden">在线查询违禁词</h2>
                <p class="text-big banned-title">小红书B站违禁词|敏感词查询工具|新广告法|极限用语通用在线检测_微信公众号：K3达人社（ID:doinxx）</p>
            </div>
        </div>
    </div>
    <div id="fh5co-bottom-info">
        <div class="container">
            <div class="layui-tab">
                <!--<span class="layui-breadcrumb" lay-separator="  " style="visibility: visible;">
                    <a href="default.html">在线查词</a><span lay-separator="">  </span>
                    <span href="javascript:return false;">文本纠错</span><span lay-separator="">  </span>
                </span>-->
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <div class="line-big"></div>
                        <form id="formContent">
                            <div class="show-list" style="padding-top:5px;">
                                <div class="line-big">
                                    <div class="xl12 xs4 xm6">
                                        <div class="item">
                                            <div class="words-container">
                                                <span style="font-size:16px;">待查段落：</span>
                                                <div class="f-right" style="font-size:14px;margin-right:5px;display:none;"><input type="radio" name="checkMethod" class="word-type" title="百度文本纠错" id="rdBD" /><label for="rdBD">百度文本纠错</label><input type="radio" name="checkMethod"  checked class="word-type" title="别字文本纠错" id="rdBZ" /><label for="rdBZ">别字文本纠错</label></div>
                                            </div>
                                            <textarea class="form-control" id="jcContent" name="jcContent" required placeholder="请输入要纠错的段落，最多可以输入 511 个字符" maxlength="511" onkeypress="return setMaxLength(this,511);"></textarea>
                                            <input type="hidden" value="" name="hdJCCheckCode" id="hdJCCheckCode" />
                                            <div class="content-length hidden">当前长度 <span id="currentLen">0</span> 个字节 ,还可输入 <span id="contentLen">511</span> 个字节</div>
                                            <button class="clear-content" id="btnClearJCContent"> 清空 </button>
                                        </div>
                                        <div class="line margin-top text-center"><a id="btnJCPaste" class="clear-text more-back border-main a-btn float-left" style="display:none;">粘贴</a> <a id="btnSumbitJC" class="more-back border-main a-btn">分析检测</a><a id="btnJCClear" class="clear-text more-back border-main a-btn">清除内容</a> <a id="btnJCCopy" class="clear-text more-back border-main a-btn f-right">一键复制</a></div>
                                    </div>
                                    <div class="xl12 xs4 xm6">
                                        <div class="item m-item">
                                            <div class="words-container">
                                                <span style="font-size:16px;">纠错结果：</span>
                                                <span id="use_num_jc" class="pull-right num layui-hide-xs" style="color:#FF4E60;float:right;font-size:16px;margin-right:10px;display:none"></span>
                                                <p class="pull-right layui-hide-xs" style="line-height:25px;color:#666;font-size:14px;float:right;display:none">累计过滤文章篇数：</p>
                                            </div>
                                            <div class="card" style="height:255px;">
                                                <div class="srcoll-box form-control well" style="height:255px;" id="afterJC"></div>
                                            </div>
                                        </div>
                                        <div class="line margin-big-top" id="jcStatic">
                                            <!--<span>全文共 <span id="wordsNumJC">0</span> 字</span>
                                <span style="margin-left:15px;">共有 <span id="JCNum">0</span> 个词(字)被纠正</span>
                                <span>置信度 <span id="zhixindu">0</span> </span>-->
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div style="height:20px;"></div>
                            <div class="line-big" id="showBannedWords">
                                <div class="xl12 xs4 xm12">
                                    <div class="item">
                                        <div class="card" style="padding:0px 20px 20px 20px">
                                            <div class="words-container">
                                                纠错列表：
                                                <span style="float:right;font-size:14px;display:none;">
                                                    <span>全文共 <span id="wordsNumJC_t">0</span> 字</span>
                                                    <span style="margin-left:15px;">共有 <span id="JCNum_t">0</span> 个词(字)被纠正</span>
                                                </span>
                                            </div>
                                            <div class="bannedword-row hidden" style="line-height:35px;color: #999999;">
                                                <div class="bannedword-col keyword-col">原片段</div>
                                                <div class="bannedword-col type-col">被替换片段</div>
                                                <div class="bannedword-col count-col">  </div>
                                            </div>
                                            <div class="srcoll-box" id="jcDetail"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="blankbig"></div>

    <script type="text/javascript" src="/static/js/bottom.js"></script>
    <script type="text/javascript" src="/static/js/layui/layui.js"></script>
    <script type="text/javascript">
        var words_type_options;

        var cuobieziCheck = document.createElement("script");
        cuobieziCheck.src = "https://biezi.com/js";
        cuobieziCheck.charset = "utf-8";
        document.body.appendChild(cuobieziCheck);
        var cuobieziCheckFlag = false;

        $(function () {
            $("textarea[id='jcContent']").bind('input propertychange', function () {
                var text = this.value;
                var len = text.byteLength();
                var remainderLen = 511 - len;
                $('#currentLen').text(len);
                $('#contentLen').text(remainderLen);
            });
            $("#rdBZ").change();
        });
        $("#rdBZ").change(function () {
            if ($("#rdBZ")[0].checked) {
                $('.content-length').removeClass('hidden').addClass('hidden');
                $('#jcContent').attr('placeholder', '请输入要纠错的段落');
            }
            else {
                $('.content-length').removeClass('hidden');
                $('#jcContent').attr('placeholder', '请输入要纠错的段落，最多可以输入 511 个字符');
            }
        })
        $("#rdBD").change(function () {
            if ($("#rdBD")[0].checked) {
                $('.content-length').removeClass('hidden');
                $('#jcContent').attr('placeholder', '请输入要纠错的段落，最多可以输入 511 个字符');
            }
            else {
                $('.content-length').removeClass('hidden').addClass('hidden');
                $('#jcContent').attr('placeholder', '请输入要纠错的段落');
            }
        })
        $('#btnClearJCContent').click(function () { $("#jcContent").val(''); })
        $('#btnJCClear').click(function () {
            $('#btnClearJCContent').click();
            clearContent()
        });
        function clearContent() {
            $("#afterJC").html('');
            $('#jcStatic').html('');
            $('#jcDetail').html('');
            $('div').remove('.typo-tooltip');
        }
        $('#btnSumbitJC').click(function () {
            var txt = $("#jcContent").val();
            if ($.trim(txt) == "") { layer.alert('请先输入待检测的文本！', { icon: 6 }); return false; }
            clearContent();
            if ($("#rdBZ")[0].checked) {
                $("#afterJC").text($("#jcContent").val());
                if (!cuobieziCheckFlag) {
                    cuobieziCheck.onload = function () { new Biezi().start() }
                    document.body.appendChild(cuobieziCheck);
                }
                cuobieziCheck = new Biezi(document.getElementById('afterJC'));
                cuobieziCheck.clear();
                cuobieziCheck.start();
                console.log('cuobieziCheck');
                console.log(cuobieziCheck);
                cuobieziCheckFlag = true;
                curCorrectText = "BZ";
            }
            else {
                if (cuobieziCheck && cuobieziCheckFlag) cuobieziCheck.clear();
                textCorrect();
                curCorrectText = "BD";
            }
        })
        var curCorrectText = "";
        $("#btnJCCopy").click(function () {
            const text = $('#afterJC').text();
            //if (curCorrectText != "BD") return false;
            if ($.trim(text) == '') return false;
            var dummy = document.createElement("textarea");
            let newContent = document.createTextNode(text);
            dummy.appendChild(newContent);
            document.body.appendChild(dummy);
            dummy.select();
            document.execCommand('copy');
            document.body.removeChild(dummy);
            layer.alert("复制成功！", { icon: 6 });
        })
        $("#btnPaste").click(function () {
            var dummy = document.getElementById('content')
            dummy.focus();
            var ret = document.execCommand('paste');
            if (!ret) { layer.alert("当前浏览器不支持本功能！", { icon: 6 }); }
        })
        //$(function () {
        //    document.addEventListener('paste', function (e) { pasteEvent(e); });
        //});
    </script>

</body>
</html>